package com.boarsoft.boar.demo.common;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import com.boarsoft.flow.core.bean.ProcessHandler;

@Component("createTxEndLog")
public class CreateTxEndLog implements ProcessHandler {
	private Logger log = LoggerFactory.getLogger(this.getClass());

	@Override
	public Object process(String entry, Object data, Throwable throwable) throws Throwable {
		log.info("Process 3 {}", data);
		return data;
	}

}